package cn.b.training.baby_education_training.service;

import cn.b.training.baby_education_training.entity.Vaccine;
import org.springframework.data.domain.Page;

/**
 * @program: baby_education_training
 * @description
 * @author: wuying
 * @create: 2022-12-04 17:24
 **/
public interface VaccineService {
    boolean addVaccine(Vaccine vaccineDto);
    /**
     * 获取全部疫苗列表
     * @param page 页码
     * @param size 页长
     * @return Page<UserAccount> 疫苗分页列表
     */
    Page<Vaccine> getAllVaccine(Integer page, Integer size);

    Boolean deleteVaccineById(Long id);
}
